# frv testcase for mov $GRi,$GRk
# mach: all

	.include "testutils.inc"

	start

	.global ori
ori:
	set_gr_immed   	0xdeadbeef,gr7
	set_gr_immed   	0xbeefdead,gr8
	set_icc         0x08,0
	mov		gr7,gr8
	test_icc	1 0 0 0 icc0
	test_gr_immed  	0xdeadbeef,gr7
	test_gr_immed  	0xdeadbeef,gr8

	pass
